const brandRoutes = {
  path: 'brand',
  name: 'Brand',
  component: () => import('@/views/goods/index.vue'),
  meta: {
    title: '商品品牌'
  },
  redirect: '/goods/brand/goods_brand',
  children: [
    {
      path: 'goods_brand',
      name: 'GoodsBrand',
      component: () => import('@/views/goods/goods-brand/goods-brand'),
      meta: { title: '商品品牌', noCache: false }
    },
    {
      path: 'add_brand',
      name: 'AddBrand',
      hidden: true,
      component: () => import('@/views/goods/goods-brand/add-brand'),
      meta: { title: '新增品牌', noCache: true }
    },
    {
      path: 'edit_brand',
      name: 'EditBrand',
      hidden: true,
      component: () => import('@/views/goods/goods-brand/add-brand'),
      meta: { title: '编辑品牌', noCache: true }
    }
  ]
}

export default brandRoutes
